Smart contracts in blockchain environments

ABSTRACT

Digital or “smart” contracts execute in a blockchain environment. Any entity (whether public or private) may specify a digital contract via a blockchain. Because there may be many digital contracts offered as virtual services, the contract identifier uniquely identifies a particular decision table and/or the digital contract offered by a virtual machine, vendor or supplier. The blockchain is thus not burdened with the programming code that is required to execute the decision table and/or the digital contract. The blockchain need only include or specify the contract identifier (and perhaps one or more contractual parameters), thus greatly simplifying the blockchain and reducing its size (in bytes) and processing requirements.

CROSS-REFERENCE TO RELATED APPLICATIONS

This patent application is a continuation of U.S. application Ser. No. 16/191,595 filed Nov. 15, 2018 and since issued as U.S. Pat. No. 11,042,871, which claims domestic benefit of U.S. Provisional Application No. 62/714,909 filed Aug. 6, 2018, with both patent applications incorporated herein by reference in their entireties.

BACKGROUND

Blockchain usage is growing. As cryptographic blockchain gains acceptance, improved techniques are needed for executing digital contracts.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The features, aspects, and advantages of the exemplary embodiments are understood when the following Detailed Description is read with reference to the accompanying drawings, wherein:

FIGS. 1-9 are simplified illustrations of a digital contract in a blockchain environment, according to exemplary embodiments;

FIGS. 10-13 are more detailed illustrations of an operating environment, according to exemplary embodiments;

FIGS. 14-18 illustrate a blockchain data layer, according to exemplary embodiments;

FIGS. 19-20 are more detailed illustrations of the digital contract, according to exemplary embodiments;

FIGS. 21-22 illustrate an access mechanism, according to exemplary embodiments;

FIGS. 23-26 illustrate contractual execution, according to exemplary embodiments;

FIGS. 27-28 illustrate virtual execution, according to exemplary embodiments;

FIG. 29 illustrates cryptographic affinities, according to exemplary embodiments;

FIGS. 30-34 illustrate a contractual process, according to exemplary embodiments;

FIG. 35 illustrates a compliance scheme, according to exemplary embodiments;

FIGS. 36-38 illustrate contractual management, according to exemplary embodiments;

FIG. 39 is a flowchart illustrating a method or algorithm for processing of the digital contract 20, according to exemplary embodiments; and

FIGS. 40-41 depict still more operating environments for additional aspects of the exemplary embodiments.

DETAILED DESCRIPTION

The exemplary embodiments will now be described more fully hereinafter with reference to the accompanying drawings. The exemplary embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. These embodiments are provided so that this disclosure will be thorough and complete and will fully convey the exemplary embodiments to those of ordinary skill in the art. Moreover, all statements herein reciting embodiments, as well as specific examples thereof, are intended to encompass both structural and functional equivalents thereof. Additionally, it is intended that such equivalents include both currently known equivalents as well as equivalents developed in the future (i.e., any elements developed that perform the same function, regardless of structure).

Thus, for example, it will be appreciated by those of ordinary skill in the art that the diagrams, schematics, illustrations, and the like represent conceptual views or processes illustrating the exemplary embodiments. The functions of the various elements shown in the figures may be provided through the use of dedicated hardware as well as hardware capable of executing associated software. Those of ordinary skill in the art further understand that the exemplary hardware, software, processes, methods, and/or operating systems described herein are for illustrative purposes and, thus, are not intended to be limited to any particular named manufacturer.

As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless expressly stated otherwise. It will be further understood that the terms “includes,” “comprises,” “including,” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Furthermore, “connected” or “coupled” as used herein may include wirelessly connected or coupled. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.

It will also be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first device could be termed a second device, and, similarly, a second device could be termed a first device without departing from the teachings of the disclosure.

FIGS. 1-9 are simplified illustrations of a digital contract 20 in a blockchain environment 22, according to exemplary embodiments. The digital contract 20 is sometimes referred to as a self-executing or “smart” contract between parties to a transaction. A data layer server 24 manages the execution of the digital contract 20. That is, the data layer server 24 may outsource the execution of the digital contract 20 to a contract layer 26. The contract layer 26 may represent a vendor, supplier, or service as a subcontractor process. The data layer server 24 receives a blockchain 28 sent from any entity 30. The data layer server 24 inspects the blockchain 28 to identify a contract identifier 32 and/or any contractual parameters 34 associated with the digital contract 20. The contract identifier 32 may be used to identify a destination, network address, server, or other processing component in the contract layer 26 that processes the digital contract 20, perhaps according to the contractual parameters 34. For simplicity, FIG. 1 illustrates the destination as a remote, contract server 36 operating within, or associated with, the contract layer 26.

Once the contract server 36 is identified, the data layer server 24 may send a service request 38 to the contract server 36. The service request 38 requests that the contract server 66 execute the digital contract 20, based on the contract identifier 32 and/or the contractual parameters 34. The service request 38 may thus specify the contract identifier 32 and/or the contractual parameters 34 as inputs for remote, off-chain execution of the digital contract 20. The contract server 36 applies the inputs to the programming code representing the digital contract 20. Once the digital contract 20 is executed, the contract server 36 may then send a service response 40 back to the data layer server 24, and the service response 40 comprises data or information describing an outcome of the digital contract 20 based on the supplied inputs (such as consideration, payment, or performance terms).

FIG. 2 illustrates a blockchain data layer 42. The data layer server 24 generates the blockchain data layer 42 to document the management and execution of the digital contract 20. For example, data records 44 in the blockchain data layer 42 may document the date and time that the blockchain 28 was received and the date and time that the service request 38 was sent to the contract server 36. Moreover, as the contract server 36 provides the digital contract 20 as a service, the contract server 36 may send periodic or random service updates 46 as the service is provided along with timestamps toward completion. The data layer server 24 may thus generate the data records 44 describing the service updates 46 received from the contract server 36. The data layer server 24 may also generate the data records 44 describing the service response 40 sent from the contract server 36 describing an outcome of the digital contract 20.

The contract layer 26 may thus be separate from the blockchain data layer 42. The contract layer 26 may have its own, smart contract protocols 48 for accessing and using its separate network of servers (such as the contract server 36). The protocols 48 may describe application programming interfaces (or “APIs”), input data formatting, and other processing requirements for using the services provided by the contract layer 26. The smart contract layer 26 may be implemented as a virtual machine, one or more decision tables, or some other state transition mechanism built within the protocol 48 of the smart contract layer 26. Moreover, the contract layer 26 may implement a consensus process such that the smart, digital contract 20 only proceeds when consensus is achieved by multiple servers within the smart contract layer 26. Moreover, the consensus process within the smart contract layer 26 need not match any consensus process used by the blockchain data layer 42. Regardless, the contract layer 26 may be a third-party and/or online, cloud-based service for remote execution of the smart, digital contract 20 in the blockchain environment 22.

FIG. 3 illustrates a cryptographic verification 50. Before the contract layer 26 processes the digital contract 20, exemplary embodiments may require the cryptographic verification 50. If the cryptographic verification 50 is satisfied, then the data layer server 24 may be authorized to send the service request 38 to the contract layer 26. However, if the cryptographic verification 50 is not verified, then the data layer server 24 may decline to send the service request 38. While any cryptographic mechanism may be used, FIG. 3 illustrates hashing identities. That is, when the data layer server 24 receives the blockchain 28, the blockchain 28 may also specify or include one or more verification values 52. Each verification value 52 may represent any alphanumeric combination that must favorably compare to a cryptographic identity 54. As a simple example, suppose the verification value 52 is some alphanumeric identifier that reportedly represents the entity 30 sending the blockchain 28. The data layer server 24 applies a hashing algorithm 56 to the verification value 52 to generate one or more hash values 58. The data layer server 24 may then compare the hash value(s) 58 to the cryptographic identity 54. The cryptographic identity 54 may thus be another hash value that is known to be uniquely associated with the entity 30. If the hash value 58 matches the cryptographic identity 54, then the data layer server 24 verifies that the blockchain 28 is truly sent from the entity 30. The entity 30 and/or the blockchain 20, in other words, is legitimately authorized or subscribed to use the services provided by the data layer server 24 (such as managing the execution of the digital contract 20). Because the entity 30 and/or the blockchain 20 is verified, the data layer server 24 may be authorized to send the service request 38 to the contract server 36 requesting execution of the digital contract 20. The data layer server 24 may also generate the data records 44 describing the successful cryptographic verification 50.

Service may also be declined. If the cryptographic verification 50 fails, then the data layer server 24 may reject execution of the digital contract 20. For example, if the hash value 58 (representing the verification value 52 specified by the blockchain 20) does not match the cryptographic identity 54, then the data layer server 24 cannot verify the entity 30 and/or the blockchain 28. The entity 30 and/or the blockchain 20 is not a legitimate subscriber of the services provided by the data layer server 24. Because the entity 30 and/or the blockchain 20 is unverified, the data layer server 24 may ignore or reject execution of the digital contract 20. The data layer server 24 may also generate the data records 44 describing the failed cryptographic verification 50.

The cryptographic verification 50 may verify any identity. The above simple example verifies the verification value 52 representing the entity 30 sending the blockchain 28. The verification value 52 may thus be any alphanumeric or binary value representing the entity 30, the blockchain 28, and/or a server or other device sending the blockchain 28. The verification value 52 may additionally or alternatively be any alphanumeric or binary value representing any party, or multiple parties, to the digital contract 20. As another simple example, the verification value 52 may represent a buyer and/or a seller/supplier in a contractual relationship described by the digital contract 20. The verification value 52 may represent a good or service described by the digital contract 20 or consideration described by the digital contract 20. The verification value 52 may represent any of the contractual parameters 34 associated with the digital contract 20. Whatever the verification value 52, if the verification value 52 can be verified, then the data layer server 24 may be authorized to execute the digital contract 20.

FIG. 4 further illustrates the blockchain 28. The digital contract 20 is sometimes referred to as a self-executing or “smart” contract between parties to a transaction. The blockchain 28 has one or more blocks 60 of data. The digital contract 20 facilitates, executes, and/or enforces the terms of an agreement. Whatever the terms, the digital contract 20 may automatically execute the terms once predetermined logical rules, conditions, or code is satisfied. The digital contract 20 may thus be expressed in a programming language. Smart contracts are generally known, so this disclosure will not dwell on the known aspects.

Here, though, the blockchain 28 need only reference the digital contract 20. That is, the actual programming language defining the digital contract 20 need not be included within or attached to the blockchain 28. Instead, the blockchain 28 need only include or specify the contract identifier 32, the one or more contractual parameters 34, and perhaps the one or more verification values 52. The contract identifier 32 is any digital identifying information that uniquely identifies or references the digital contract 20. Similarly, the contractual parameters 34 may digitally identify the parties to the digital contract 20, their respective performance obligations and terms, and even consideration. The data layer server 24 may use the one or more verification values 52 in the cryptographic verification 50 to authorize the contract layer 26 to process the digital contract 20. So, instead of the blockchain 28 carrying or conveying the actual code representing the digital contract 20, exemplary embodiments need only specify the contract identifier 32, the contractual parameters 34, and/or the verification value 52. The blocks 60 of data within the blockchain 28 are thus not burdened with the programming code that is required to execute the digital contract 20. The blockchain 28 need only include or specify the contract identifier 32, the contractual parameters 34, and/or the verification value 52 (or their respective hash values), thus greatly simplifying the blockchain 28 and reducing its size (in bytes) and processing requirements.

FIG. 5 further illustrates the blockchain 28. Here any entity 30 may generate the blockchain 28. While exemplary embodiments may be applied to any entity 30, most readers are familiar with financial services. That is, suppose the entity 30 is a bank, lender, or other financial institution 62 (such as PIMCO®, CITI®, or BANK OF AMERICA®). As the reader likely understands, the financial institution 62 creates a massive amount of banking records, transaction records, mortgage instruments, and other private data 64. The financial institution 62 thus has a financial server 66 executing a software application 68 that encrypts its private data 64. While the software application 68 may use any encryption scheme, FIG. 5 illustrates the private blockchain 28. That is, the software application 68 causes the financial server 66 to cryptographically hash the private data 64 and to integrate the resulting hash value(s) into the block 60 of data within the private blockchain 28. Moreover, because the private data 64 may represent contractual obligations between parties, the software application 68 may further cause the blockchain 28 to include the contract identifier 32, the contractual parameters 34, and/or the verification value 52. The contract identifier 32, the contractual parameters 34, and/or the verification value 52 may be encoded as data or information contained within the block 60 of data, or the contract identifier 32, the contractual parameters 34, and/or the verification value 52 may be data or information that is separate from the block 60 of data (such as informational content in metadata or in a packet header/body). Regardless, the blockchain 28 need not include the programming code representing the digital contract 20. The blockchain 28 need only specify the contract identifier 32, the contractual parameters 34, and/or the verification value 52.

FIG. 6 illustrates the data layer server 24. The data layer server 24 may manage the execution of the digital contract 20 referenced by the contract identifier 32, the contractual parameters 34, and/or the verification value 52. For example, after the financial server 66 (executing the software application 68) generates the block 60 of data within the blockchain 28, the financial server 66 may send the blockchain 28 to the network address (e.g., Internet protocol address) associated with the data layer server 24. When the data layer server 24 receives the blockchain 28, the data layer server 24 inspects the blockchain 28 to identify the contract identifier 32, the contractual parameters 34, and/or the verification value 52. The data layer server 24 may be required to perform the cryptographic verification 50. If the cryptographic verification 50 passes, the data layer server 24 may consult an electronic database 70 of contracts. The database 70 of contracts has entries that map or relate the contract identifier 32 to its corresponding contract executioner or processor in the contract layer 26. As a simple example, suppose the contract identifier 32 maps to the network address assigned to the contract server 36. The database 70 of contracts, in other words, may identify the contract server 36 that receives the inputs associated with the digital contract 20 identified by the contract identifier 32. So, once the contract server 36 is determined, the data layer server 24 sends the inputs (e.g., the contract identifier 32, the contractual parameters 34, and/or the verification value 52) to the contract server 36. The contract server 36 thus applies the inputs (such as party names, parameters associated with their respective performance obligations and terms, and consideration) to the computer file or other programming code representing the digital contract 20. Again, then, the blockchain 28 need only reference the digital contract 20 (using the contract identifier 32 and/or the contractual parameters 34). The actual execution of the digital contract 20 may be offloaded or outsourced to the contract server 36. The data layer server 24 may also generate the data records 44 describing the remote assignment to the contract server 36.

The data layer server 24 may thus outsource contractual performance. The data layer server 24 may only manage the execution of the digital contract 20 referenced by the contract identifier 32 and/or the contractual parameters 34. That is, the data layer server 24 may outsource the execution of the digital contract 20 to the contract layer 26 as a vendor, a supplier, or a subcontractor process. Again, when the data layer server 24 receives the blockchain 28, the data layer server 24 inspects the blockchain 28 to identify the contract identifier 32 and/or the contractual parameters 34. The data layer server 24 may then consult the database 70 of contracts. Here, though, the database 70 of contracts has entries that map or relate the contract identifier 32 to a network resource within the contract layer 26 that processes and/or executes the digital contract 20 as a service (perhaps as a software-as-a-service or “SAAS”). The network resource may thus be a remote server, a virtual machine, a web page or web server, a client device/machine, or other resource that executes the digital contract 20. Once the network resource is determined, the data layer server 24 may retrieve and send the contractual parameters 34 to the network resource for execution. The network resource 232 (perhaps operated on behalf of a third party) applies the parameters defined or described by the contractual parameters 34 to the programming code representing the digital contract 20.

Exemplary embodiments thus only need to identify the digital contract 20. The contract identifier 32 and the contractual parameters 34 need only be informational content in the private blockchain 28. The contract identifier 32 is any digital identifying information that uniquely identifies or references the digital contract 20. The contract identifier 32 may be an alphanumeric combination that uniquely identifies a vendor and/or version of the digital contract 20 and/or a processor or executioner of the digital contract 20. The contract identifier 32 may be expressed as a unique hash value that is included within, or specified by, the private blockchain 28. Similarly, the contractual parameters 34 may identify the parties to the digital contract 20, their respective performance obligations and terms, and consideration.

FIG. 7 illustrates service compensation. When the digital contract 20 is executed, the contract layer 26 and/or the contract server 36 may be paid for rendering or providing the processing service. While there are many compensation schemes, this disclosure mostly explains crypto-compensation. That is, as the digital contract 20 is processed, the data layer server 24 and the contract server 36 may exchange, trade, or transfer cryptographic currencies. Suppose, for example, that the data layer server 24 has its own cryptographic coinage 80, and also suppose that the contract layer 26 may have its own cryptographic coinage 82. The data layer server 24 and the contract server 36 may establish entity-specific electronic tokens 80 and 82 to access and/or to use the data records 44 and/or other processing services.

The cryptographic coinage 80 and 82 may thus be control mechanisms. While the cryptographic coinage 80 and 82 may have any functional scheme, private credit tokens and private tradeable tokens may be used. The cryptographic coinage 80 and 82 may be acquired and then spent or burned when accessing the data layer server 24 and the contract server 36. The credit tokens, in other words, represents any credit-based entry system, and the tradeable token, on the other hand, may be generated for transfer among others. The cryptographic coinage 80 and 82 may be generated to be traded and/or spent. Exemplary embodiments may thus trade or exchange crypto-compensation. That is, when the digital contract 20 is executed, perhaps the data layer server 24 and the contract server 36 exchange, trade, or transfer their respective cryptographic coinage 80 and 82.

The digital contract 20 is thus a computer program or code that verifies and/or enforces negotiation and/or performance of a contract between parties. One fundamental purpose of so-called smart contracts is to integrate the practice of contract law and related business practices with electronic commerce protocols between parties or devices via the Internet. Smart contracts may leverage a user interface that provides one or more parties or administrators access, which may be restricted at varying levels for different people, to the terms and logic of the contract. Smart contracts typically include logic that emulates contractual clauses that are partially or fully self-executing and/or self-enforcing. Examples of smart contracts are digital rights management (DRM) used for protecting copyrighted works, financial cryptography schemes for financial contracts, admission control schemes, token bucket algorithms, other quality of service mechanisms for assistance in facilitating network service level agreements, person-to-person network mechanisms for ensuring fair contributions of users, and others. Smart contract infrastructure can be implemented by replicated asset registries and contract execution using cryptographic hash chains and Byzantine fault tolerant replication. For example, each node in a peer-to-peer network or blockchain distributed network may act as a title registry and escrow, thereby executing changes of ownership and implementing sets of predetermined rules that govern transactions on the network. Each node may also check the work of other nodes and in some cases, as noted above, function as miners or validators.

FIG. 8 further illustrates the data layer server 24. When the data layer server 24 receives the blockchain 28, the data layer server 24 may generate the data records 44 in the blockchain data layer 42, as later paragraphs will explain. Moreover, the blockchain data layer 42 may also add another layer of cryptographic hashing to generate a public blockchain 84. The blockchain data layer 42 acts as a validation service 86 that validates the digital contract 20 was executed. Moreover, the blockchain data layer 42 may generate a cryptographic proof 88. The public blockchain 84 thus publishes the cryptographic proof 88 as a public ledger 90 that establishes chains of blocks of immutable evidence.

The data layer server 24 documents transactions. The data records 44 in the blockchain data layer 42 log whenever the data layer server 24 calls or requests the contract layer 26. The data records 44 also log the service responses 40 and service updates 46 (as explained with reference to FIG. 3 ). The data records 44 also log any cryptographic coinage 80 and 82 paid or exchanged between the data layer server 24 and the contract server 36. The data records 44 in the blockchain data layer 42 document any transactions and publishes ownership and transfer proofs 88. The data records 44 may document any payments, earnings, or awards for processing or executing a portion of, or entirely, the digital contract 20. The cryptographic coinage 80 and 82 may thus be uniquely associated with a party to the digital contract 20 and/or with a service provider/processor of the digital contract 20. The data records 44 may document the parties to the digital contract 20, a transactional description describing a transaction governed by the digital contract 20, and any financial or performance terms. The data records 44 may thus document an offer, an acceptance, a consideration, and terms. The data records 44 may document any creation, generation, and/or conveyance of the cryptographic coinage 80 and 82. The blockchain data layer 42 may thus publish the proofs 88 of the digital contract 20 and any cryptographic coinage 80 and 82 paid or exchanged for execution and performance.

Exemplary embodiments thus present elegant solutions. Any entity 30 may create its own private blockchain 28 and offer or present the digital contract 20 for self-execution. The entity 30 may then establish or create cryptographic coinage for using, accessing, or processing the entity's private blockchain 28 and/or the digital contract 20. The entity's cryptographic coinage may have value, thus fostering a market for entity-specific tradeable assets in the blockchain environment 22. The entity's cryptographic coinage may thus drive demand to use the digital contracts 20.

FIG. 9 expands the entity concept. Here multiple, different entities 30 a-d provide their respective software applications 68 a-d that encrypt their respective private data 64 a-d as their individual, private blockchains 28 a-d. While exemplary embodiments may be applied to any number of industries or services, FIG. 9 illustrates a simple example of four (4) different entities 30 a-d. First entity 30 a, for example, again represents the bank, lender, or other financial institution 62 that encrypts its private data 64 a as its private blockchain 28 a. Second entity 30 b represents any retailer 100 (such as HOME DEPOT®, KOHL'S®, or WALMART®) that encrypts its private data 64 b as its private blockchain 28 b. Third entity 30 c represents a website 102 offering a service 104 (such as AMAZON®, NETFLIX®, or GOOGLE®) that encrypts its private data 64 c as the private blockchain 28 c. Fourth entity 30 d represents an automotive or other manufacturer or supplier 106 (such as FORD®, TOYOTA®, or DELPHI®) that encrypts its private data 64 d as the private blockchain 28 d. The entities 30 a-d thus use their respective software applications 68 a-d to provide a first layer 110 of cryptographic hashing. The entities 30 a-d may also use their respective software applications 68 a-d to issue their own private and entity-specific cryptocoinage 80 a-d. Each entity 30 a-d may then send their respective private blockchains 28 a-d to the blockchain data layer 42, and the blockchain data layer 42 may outsource or subcontract execution of their respective digital contracts 20 a-d to the contract layer 26. Moreover, the blockchain data layer 42 may add a second layer 112 of cryptographic hashing to the data records 44. The blockchain data layer 42 thus generates the public blockchain 84 as a public resource or utility for record keeping. Any entity 30 that subscribes to the blockchain data layer 42 (such as by acquiring and/or spending the cryptocoinage 80) may thus access, read, and/or download the data records 44 or their proofs 88 of its private data 64 to the public blockchain 84. The blockchain data layer 42, in other words, acts as the public ledger 90 that establishes chain of blocks of immutable evidence.

As FIG. 9 also illustrates, each entity 30 a-d may establish its own private cryptocoinage 114 a-d. Each entity's private software application 68 a-d may create and/or issue its cryptocoinage 114 a-d. Each entity 30 a-d may also establish its own usage restrictions and value according to rules governing ownership, trade, and other policies. Each entity 30 a-d may generate and sends its respective transaction records to the blockchain data layer 42 for documentation.

As FIG. 9 further illustrates, each entity 30 a-d may also specify their respective digital contract 20 a-d. When any of the private blockchains 28 a-d is received, the blockchain data layer 42 may coordinate execution of any digital contract 20 a-d. The blockchain data layer 42, for example, may inspect any private blockchain 28 a-d and identify any information associated with the digital contract 20 a-d. The blockchain data layer 42 may then execute the digital contract 20 a-d, and/or the blockchain data layer 42 may identify a service provider that executes the digital contract 20 a-d. The blockchain data layer 42, in other words, may manage the execution of the digital contracts 20 a-d according to a subcontractor relationship. A provider of the blockchain data layer 42 may then be compensated via any entity's cryptocoinage 80 a-d and/or the blockchain data layer's cryptocoinage 80. Moreover, the contract layer 26 may have its own cryptocoinage 82, and the contract layer 26 may be compensated via any entity's cryptocoinage 80 a-d and/or the blockchain data layer's cryptocoinage 80.

Accounts may be agnostic. Any user of the blockchain data layer 42 and/or the contract layer 26 may authenticate. Once authenticated, the user need only enter or provide a cryptographic address to access any of the cryptocoinage 80, 82, and/or 114. The single cryptographic address, in other words, allows the user to access her account and balance for any of the cryptocoinage 80, 82, and/or 114. The user may thus easily conduct transactions between the cryptocoinage 80, 82, and/or 114. The user, for example, may fuel or replenish its supply of the cryptocoinage 80, 82, and/or 114, perhaps by redeeming or exchanging one for another (perhaps according to an exchange rate or other value). Similarly, the provider of the blockchain data layer 42 may fuel or replenish its supply of the cryptocoinage 80, 82, and/or 114 by purchase or exchange. The provider of the contract layer 26 may fuel or replenish its supply of the cryptocoinage 80, 82, and/or 114 by purchase or exchange. The data records 44 confirm the processing and/or execution of the digital contract 20 a-d, so the data records 44 propagate into the blockchain data layer 42 for public disclosure via the public blockchain 84. Any user that successfully authenticates may access a full accounting of his or her digital cryptocoinages 80, 82, and/or 114 and any digital contracts 20, perhaps according to the respective single cryptographic address. The user may thus buy, sell, trade, and/or redeem any entity-specific cryptocoinages 80, 82, and/or 114. The user may buy or sell any entity's coins or replenish credits. The user may also track performance or obligations defined by the digital contracts 20 a-d and any payments or consideration received or paid.

Exemplary embodiments thus present another elegant solution. Accounting balances and payments and transactions may utilize a filling station as another service offered by the blockchain data layer 42. Because all the data records 44 in the blockchain data layer 42 are identifiable (perhaps via a single cryptographic address), the filling station can present the summary of the user's credit tokens and tradeable tokens. The filling station may thus provide a single or universal electronic wallet for all of a user's digital coinage and credits, regardless of the issuing entity 30 a-d. The user may thus only perform a single authentication to the blockchain data layer 42 and access all her cryptofunds.

FIGS. 10-13 are more detailed illustrations of an operating environment, according to exemplary embodiments. FIG. 10 illustrates an entity server 140 communicating with the data layer server 24 via a communications network 142. The entity server 140 operates on behalf of the entity 30 and generates the entity's private blockchain 28 (such as the financial server 66 explained with reference to FIGS. 4-5 & 9 ). The entity server 140, in other words, has a processor 144 (e.g., “μP”), application specific integrated circuit (ASIC), or other component that executes the entity's software application 68 stored in a local solid-state memory device 146. The entity server 140 has a network interface to the communications network 142, thus allowing two-way, bidirectional communication with the data layer server 24. The entity's software application 68 includes instructions, code, and/or programs that cause the entity server 140 to perform operations, such as calling, invoking, and/or applying an electronic representation of the hashing algorithm 56 to the entity's private data 64. The hashing algorithm 56 thus generates one or more hash values 58, which are incorporated into the entity's private blockchain 28. The entity's software application 68 then instructs the entity server 140 to send the private blockchain 28 via the communications network 142 to a network address (e.g., Internet protocol address) associated with the data layer server 24.

The digital contract 20 may also be identified. The entity's software application 68 may also instruct the entity server 140 to specify the digital contract 20 as informational content in the private blockchain 28. For example, the digital contract 20 may be identified by the contract identifier 32 and contractual parameters 34. The contract identifier 32 is any digital identifying information that uniquely identifies or references the digital contract 20. The contract identifier 32 may be an alphanumeric combination that uniquely identifies a vendor and/or version of the digital contract 20 and/or a processor or executioner of the digital contract 20. The contract identifier 32 may also be one of the unique hash values 58 (perhaps generated by the hashing algorithm 56) that is included within, or specified by, the private blockchain 28. Similarly, the contractual parameters 34 may identify the parties to the digital contract 20, their respective performance obligations and terms, and consideration.

The verification value 52 may also be specified. The entity's software application 68 may also instruct the entity server 140 to specify the verification value 52 as informational content in the private blockchain 28. The verification value 52 preferably represents the entity 30 sending the blockchain 28. The verification value 52 may additionally or alternatively be any alphanumeric or binary value representing any party, or multiple parties, to the digital contract 20. As another simple example, the verification value 52 may represent a buyer and/or a seller/supplier in a contractual relationship described by the digital contract 20. The verification value 52 may represent a good or service described by the digital contract 20 or consideration described by the digital contract 20. The verification value 52 may represent any of the contractual parameters 34 associated with the digital contract 20. Whatever the verification value 52, if the verification value 52 can be verified, then the data layer server 24 may be authorized to execute the digital contract 20.

FIG. 11 illustrates the blockchain data layer 42. The data layer server 24 has a processor 152 (e.g., “μP”), application specific integrated circuit (ASIC), or other component that executes a data layer application 154 stored in a local solid-state memory device 156. The data layer server 24 has a network interface to the communications network 142. The data layer application 154 includes instructions, code, and/or programs that cause the data layer server 24 to perform operations, such as receiving the entity's private blockchain 28, the contract identifier 32, the contractual parameters 34, and/or the verification value 52. The data layer application 154 then causes the data layer server 24 to generate the blockchain data layer 42. The data layer application 154 may optionally call, invoke, and/or apply the hashing algorithm 56 to the data records 44 contained within the blockchain data layer 42. The data layer application 154 may also generate the public blockchain 84. The data layer application 154 may thus generate the public ledger 90 that publishes, records, or documents the digital contract 20, the contract identifier 32, the contractual parameters 34, and/or the verification value 52. Indeed, if the data layer application 154 processes and/or manages the digital contract 20, the data records 44 may document any processing or execution, and the data layer application 154 may optionally apply the hashing algorithm 56 to the data records 44 to generate the cryptographic proof 88 of the digital contract 20.

FIG. 12 illustrates the contract server 36. The contract server 36 has a processor 158 (e.g., “μP”), application specific integrated circuit (ASIC), or other component that executes the digital contract 20 stored in a local solid-state memory device 160. The data layer server 24 has a network interface to the communications network 142. The digital contract 20 may also include instructions, code, and/or programs that cause the contract server 36 to perform operations, such as receiving the inputs specified by the service request 38, applying the inputs to the programming or code representing the digital contract 20, and sending the service response 40 back to the network address assigned to or associated with the data layer server 24.

FIG. 13 illustrates additional publication mechanisms. Once the blockchain data layer 42 is generated, the blockchain data layer 42 may be published in a decentralized manner to any destination. The data layer server 24, for example, may generate and distribute the public blockchain 84 (via the communications network 142 illustrated in FIGS. 11-12 ) to one or more federated servers 162. While there may be many federated servers 162, for simplicity FIG. 13 only illustrates two (2) federated servers 162 a and 160 b. The federated servers 162 a and 162 b provide a service and, in return, they are compensated according to a compensation or services agreement or scheme.

Exemplary embodiments include still more publication mechanisms. For example, the cryptographic proof 88 and/or the public blockchain 84 may be sent (via the communications network 142 illustrated in FIGS. 11-12 ) to a server 164. The server 164 may then add another, third layer of cryptographic hashing (perhaps using the hashing algorithm 56) and generate another or second public blockchain 166. While the server 164 and/or the public blockchain 166 may be operated by, or generated for, any entity, exemplary embodiments may integrate another cryptographic coin mechanism. That is, the server 164 and/or the public blockchain 166 may be associated with BITCOIN®, ETHEREUM®, RIPPLE®, or other cryptographic coin mechanism. The cryptographic proof 88 and/or the public blockchain 84 may be publicly distributed and/or documented as evidentiary validation. The cryptographic proof 88 and/or the public blockchain 84 may thus be historically and publicly anchored for public inspection and review.

Exemplary embodiments may be applied regardless of networking environment. Exemplary embodiments may be easily adapted to stationary or mobile devices having cellular, wireless fidelity (WI-FI®), near field, and/or BLUETOOTH® capability. Exemplary embodiments may be applied to mobile devices utilizing any portion of the electromagnetic spectrum and any signaling standard (such as the IEEE 802 family of standards, GSM/CDMA/TDMA or any cellular standard, and/or the ISM band). Exemplary embodiments, however, may be applied to any processor-controlled device operating in the radio-frequency domain and/or the Internet Protocol (IP) domain. Exemplary embodiments may be applied to any processor-controlled device utilizing a distributed computing network, such as the Internet (sometimes alternatively known as the “World Wide Web”), an intranet, a local-area network (LAN), and/or a wide-area network (WAN). Exemplary embodiments may be applied to any processor-controlled device utilizing power line technologies, in which signals are communicated via electrical wiring. Indeed, exemplary embodiments may be applied regardless of physical componentry, physical configuration, or communications standard(s).

Exemplary embodiments may utilize any processing component, configuration, or system. Any processor could be multiple processors, which could include distributed processors or parallel processors in a single machine or multiple machines. The processor can be used in supporting a virtual processing environment. The processor could include a state machine, application specific integrated circuit (ASIC), programmable gate array (PGA) including a Field PGA, or state machine. When any of the processors execute instructions to perform “operations,” this could include the processor performing the operations directly and/or facilitating, directing, or cooperating with another device or component to perform the operations.

Exemplary embodiments may packetize. When the entity server 140 and the data layer server 24 communicate via the communications network 142, the entity server 140 and the data layer server 24 may collect, send, and retrieve information. The information may be formatted or generated as packets of data according to a packet protocol (such as the Internet Protocol). The packets of data contain bits or bytes of data describing the contents, or payload, of a message. A header of each packet of data may contain routing information identifying an origination address and/or a destination address.

FIGS. 14-18 further illustrate the blockchain data layer 42, according to exemplary embodiments. The blockchain data layer 42 chains hashed directory blocks 170 of data into the public blockchain 84. For example, the blockchain data layer 42 accepts input data (such as the entity's private blockchain 28 illustrated in FIGS. 1-10 ) within a window of time. While the window of time may be configurable from fractions of seconds to hours, exemplary embodiments use ten (10) minute intervals. FIG. 14 illustrates a simple example of only three (3) directory blocks 170 a-c of data, but in practice there may be millions or billions of different blocks. Each directory block 184 of data is linked to the preceding blocks in front and the following or trailing blocks behind. The links are created by hashing all the data within a single directory block 184 and then publishing that hash value within the next directory block.

As FIG. 15 illustrates, published data may be organized within chains 172. Each chain 172 is created with an entry that associates a corresponding chain identifier 174. Each entity 30 a-f, in other words, may have its corresponding chain identifier 174 a-d. The blockchain data layer 42 may thus track any data associated with the entity 30 a-f with its corresponding chain identifier 174 a-d. New and old data in time may be associated with, linked to, identified by, and/or retrieved using the chain identifier 174 a-d. Each chain identifier 174 a-d thus functionally resembles a directory 176 a-d (e.g., files and folders) for organized data entries according to the entity 30 a-f.

FIG. 16 illustrates the data records 44 in the blockchain data layer 42. As data is received as an input (such as the private blockchain 28 and/or the digital contract 20 illustrated in FIGS. 1-11 ), data is recorded within the blockchain data layer 42 as an entry 180. While the data may have any size, small chunks (such as 10 KB) may be pieced together to create larger file sizes. One or more of the entries 180 may be arranged into entry blocks 182 representing each chain 172 according to the corresponding chain identifier 174. New entries for each chain 172 are added to their respective entry block 182 (again perhaps according to the corresponding chain identifier 174). After the entries 180 have been made within the proper entry blocks 182, all the entry blocks 182 are then placed within in the directory block 184 generated within or occurring within a window 186 of time. While the window 186 of time may be chosen within any range from seconds to hours, exemplary embodiments may use ten (10) minute intervals. That is, all the entry blocks 182 generated every ten minutes are placed within in the directory block 184.

FIG. 17 illustrates cryptographic hashing. The data layer server 24 executes the data layer application 154 to generate the data records 44 in the blockchain data layer 42. The data layer application 154 may then instruct the data layer server 24 to execute the hashing algorithm 56 on the data records 44 (such as the directory block 184 illustrated in FIGS. 14-16 ). The hashing algorithm 56 thus generates the one or more hash values 58 as a result, and the hash values 58 represent the hashed data records 44. As one example, the blockchain data layer 42 may apply a Merkle tree analysis to generate a Merkle root (representing a Merkle proof 88) representing each directory block 184. The blockchain data layer 42 may then publish the Merkle proof 88 (as this disclosure explains).

FIG. 18 illustrates hierarchical hashing. The entity's private software application 68 provides the first layer 110 of cryptographic hashing and generates the private blockchain 28. The entity 30 then sends its private blockchain 28 (perhaps referencing or specifying the digital contract 20) to the data layer server 24. The data layer server 24, executing the data layer application 154, generates the blockchain data layer 42. The data layer application 154 may optionally provide the second or intermediate layer 112 of cryptographic hashing to generate the cryptographic proof 88. The data layer application 154 may also publish any of the data records 44 as the public blockchain 84, and the cryptographic proof 88 may or may not also be published via the public blockchain 84. The public blockchain 84 and/or the cryptographic proof 88 may be optionally sent to the server 164 as an input to yet another public blockchain 166 (again, such as BITCOIN®, ETHEREUM®, or RIPPLE®) for a third layer 188 of cryptographic hashing and public publication. The first layer 110 and the second layer 112 thus ride or sit atop a conventional public blockchain 166 (again, such as BITCOIN®, ETHEREUM®, or RIPPLE®) and provide additional public and/or private cryptographic proofs 88.

Exemplary embodiments may use any hashing function. Many readers may be familiar with the SHA-256 hashing algorithm. The SHA-256 hashing algorithm acts on any electronic data or information to generate a 256-bit hash value as a cryptographic key. The key is thus a unique digital signature. There are many hashing algorithms, though, and exemplary embodiments may be adapted to any hashing algorithm.

FIGS. 19-20 are more detailed illustrations of the digital contract 20, according to exemplary embodiments. The private entity 30 sends its private blockchain 28 to the network address associated with the data layer server 24 that generates the blockchain data layer 42. The private blockchain 28 may contain information representing the entity's private data 64, the contract identifier 32, the contractual parameters 34, and/or the verification value 52. The entity's private data 64, the contract identifier 32, the contractual parameters 34, and/or the verification value 52 may additionally or alternatively be separately sent from the entity server 140 to the data layer server 24 (perhaps via the communications network 142 illustrated by FIGS. 10-12 ). Regardless, the entity's private cryptocoinage 80 may be associated with the entity's private data 64, the contract identifier 32, the contractual parameters 34, and/or the verification value 52. The data records 44 and/or their privately hashed blocks of data may thus specify, include, reference, and/or be associated with, and/or identified by, the entity's private data 64, the contract identifier 32, the contractual parameters 34, and/or the verification value 52. Because the contract identifier 32 (and/or its corresponding hash value) is an identifiable input to the data layer server 24 generating the blockchain data layer 42, the data records 44 may also carry or reference the contract identifier 32 and/or the contractual parameters 34. So, should the blockchain data layer 42 create or issue its own cryptocoinage 82, the cryptocoinage 82 may also reference, be identified by, or be associated with the entity's private data 64, the contract identifier 32, the contractual parameters 34, and/or the verification value 52. These data values may thus be common indicators or reference data for tracking the execution of the digital contract 20 and/or the cryptocoinage 80, 82, and/or 114. The data records 44 may thus be commonly mapped or identified to the corresponding entity's private data 64, the contract identifier 32, the contractual parameters 34, the verification value 52, and/or the cryptocoinage 80, 82, and/or 114.

FIG. 20 illustrates a simple illustration. Once the contract identifier 32 (and/or its corresponding hash value) is received, the contract identifier 32 may propagate and be recorded within the blockchain data layer 42. The contract identifier 32, for example, may be recorded in any of the entries 180. The entry 180, and thus the contract identifier 32, may then be recorded and/or arranged as the entry block 182 and placed within the directory block 184. The entry 180, the entry block 182, and the directory block 184 may thus reference, specify, or be associated with, the contract identifier 32. The contract identifier 32 has thus propagated as informational content from the private blockchain 28 and into and through the blockchain data layer 42. The contract identifier 32 thus hierarchically moves through the multiple layers of cryptographic hashing for public publication. The blockchain data layer 42 thus tracks the transaction records involving the contract identifier 32. In simple words, the blockchain data layer 42 may track contractual performance of the digital contract 20 via the data records 44 that reference or contain the contract identifier 32. Moreover, the blockchain data layer 42 may also track ownership and transfer of the cryptocoinage 80, 82, and/or 114.

FIGS. 21-22 illustrate an access mechanism, according to exemplary embodiments. The blockchain data layer 42 may be a public and/or private service for transactions involving the cryptocoinage 80, 82, and/or 114 and/or the digital contract 20. FIG. 21 illustrates the blockchain data layer 42 as a software-as-a-service offered by the secure data layer server 24 for accessing the blockchain data layer 42. A user accesses the blockchain data layer 42 to conduct transactions involving the cryptocoinage 80, 82, and/or 114 and/or the digital contract 20. While the blockchain data layer 42 may have any user interface, FIG. 21 illustrates a web interface 194. That is, the data layer server 24 and/or the blockchain data layer 42 may be accessed via a webpage 196. The webpage 196 prompts the user to input her authentication credentials according to an authentication mechanism 190 (such as a username, passphrase, or biometric entered or input into a data field or audibly speaking the passphrase).

Mobile technology is illustrated. The user accesses the data layer server 24 and/or the blockchain data layer 42 using a user device 200. While the user device 200 may be any processor-controlled device, most readers are familiar with a smartphone 202. If the smartphone 202 correctly sends authentication credentials, then the smartphone 202 may utilize the web interface 194 to the data layer server 24 and/or the blockchain data layer 42. The smartphone 202 executes a web browser and/or a mobile application to send a request 204 specifying an address or domain name associated with or representing the data layer server 24 and/or the blockchain data layer 42. The web interface 194 to the data layer server 24 thus sends the webpage 196 as a response, and the user's smartphone 202 downloads the webpage 196. The smartphone 202 has a processor and memory device (not shown for simplicity) that causes a display of the webpage 196 as a graphical user interface (or “GUI”) 206 on its display device 208. The GUI 206 may generate one or more prompts or fields for specifying the authentication mechanism 190 and transactional options. For example, the user preferably enters, speaks, or otherwise provides inputs. Exemplary embodiments may then search the blockchain data layer 42 for the data records 44. That is, exemplary embodiments may query the blockchain data layer 42 for a query parameter (such as the contract identifier 32 and/or its hashed value) and the blockchain data layer 42 identifies the data records 44 that match or reference the query parameter. The data layer application 154 may then process the data records 44 to provide a transactional summary 210 of the digital contract 20. The webpage 196 may also allow the user to replenish an amount or value of the cryptocoinage 80, 82, and 114, even allowing the user to exchange, trade, or spend for services (such as accessing to the blockchain data layer 42).

FIG. 22 illustrates a query mechanism. Here the data layer server 24 may access a database 220 of data layer records. The database 220 of data layer records provides a referential record of the informational content contained within the blockchain data layer 42. FIG. 22 illustrates the data layer server 24 locally storing the database 220 of data layer records in its local memory device 156, but the database 220 of data layer records may be remotely stored and accessed via the communications network 142. Regardless, the data layer server 24 may query the database 220 of data layer records for any query parameter (such as the contract identifier 32) and identify and/or retrieve any corresponding data records 44. While the database 220 of data layer records may have any logical structure, FIG. 22 illustrates the database 220 of data layer records as a table 222 that maps, converts, or translates the contract identifier 32 to its corresponding entry 180, entry block 182, and/or directory block 184 within the blockchain data layer 42. Whenever the data layer server 24 generates the entry 180, entry block 182, and/or directory block 184, the data layer server 24 may add an entry to the database 220 of data layer records. Over time, then, the database 220 of data layer tracks a comprehensive historical repository of information that is electronically associated with its corresponding contract identifier 32. The data layer server 24 may then read or retrieve the entry 180, entry block 182, and/or directory block 184 containing or corresponding to the contract identifier 32.

Exemplary embodiments thus present the cryptocoinage 80, 82, and 114. The entity 30, the data layer server 24, and the contract layer 26 may create their own cryptocoinage 80, 82, and 114 and define or offer digital contracts 20. The cryptocoinage 80, 82, and 114 may be associated with the contract identifier 32, thus allowing a faster and simpler accounting scheme for machine executable contractual terms.

Exemplary embodiments may thus create coinage on top of coinage. The hierarchical scheme (explained with reference to FIG. 18 ) allows the entity 30, the data layer server 24, and the contract layer 26 to establish its private cryptocoinage 80, 82, and 114 hierarchically above the traditional BITCOIN®, ETHEREUM®, or RIPPLE® coinage. The entity's private data 64 remains private, but the data records 44 may be publicly documented or proved via the traditional BITCOIN®, ETHEREUM®, or RIPPLE® environment. The private entity 30 and the contract layer 26, in other words, need to worry about or concern itself with public publication. The private entity 30 and the contract layer 26 need only subscribe (e.g., pay for read/write access) to the blockchain data layer 42. The digital contract 20 may also be offered, executed, and documented by the data records 44.

FIGS. 23-26 further illustrate contractual execution, according to exemplary embodiments. When the data layer server 24 receives the blockchain 28, exemplary embodiments inspect the blockchain 28 to identify the contract identifier 32, the contractual parameters 34, and/or the verification value 52. The contract identifier 32, the contractual parameters 34, and/or the verification value 52 may be contained within the block 60 of data within the blockchain 28. The contract identifier 32, the contractual parameters 34, and/or the verification value 52 may be additionally or alternatively be metadata contained within the block 60 of data, and/or the contract identifier 32, the contractual parameters 34, and/or the verification value 52 may be data, a data field, and/or a file attachment. The contract identifier 32, the contractual parameters 34, and/or the verification value 52 may be information or data specified by the blockchain 28 and/or by a packet header or body. The contract identifier 32, the contractual parameters 34, and/or the verification value 52 may be separately sent from the blockchain 28 as data or information in a message sent to the data layer server 24. Regardless, once the contract identifier 32, the contractual parameters 34, and/or the verification value 52 are determined, exemplary embodiments may consult the electronic database 70 of contracts.

FIG. 24 illustrates the database 70 of contracts. While the database 70 of contracts may have any logical structure, a relational database is perhaps easiest to understand. FIG. 24 thus illustrates the database 70 of contracts as an electronic table 230 that maps, converts, or translates the contract identifier 32 and/or the contractual parameters 34 to their corresponding network resource(s) 232 operating within, or associated with or assigned to, the contract layer 26. The database 70 of contracts may thus be preconfigured or preloaded with entries that assign or associate different contract identifiers 28 and/or contractual parameters 34 to their corresponding network resource 232 that provides, processes, and/or executes the corresponding digital contract 20. As the data layer server 24 receives any blockchain 28, the data layer server 24 may inspect the blockchain 28 for the contract identifier 32 and/or the contractual parameters 34. The data layer server 24 may separately receive the contract identifier 32, the contractual parameters 34, and/or the verification value 52 as one or more data messages. Regardless, the data layer server 24 may then query the database 70 of contracts for the contract identifier 32 and/or the contractual parameters 34 to identify the network resource 232 that is responsible for executing the digital contract 20. As a simple example, the database 70 of contracts may map or relate the contract identifier 32 and/or the contractual parameters 34 to the contract server 66 that is assigned to, or responsible for, receiving the inputs to the digital contract 20. As other examples, the database 70 of contracts may have database entries that specify the network resource 232 as a virtual machine 234, Internet protocol address 236, or other network resource 232 that is responsible for executing the digital contract 20. The database 70 of contracts may optionally contain entries that relate hashed values of the contract identifier 32 and/or the contractual parameters 34. Regardless, once the network resource 232 is identified, the data layer server 24 may direct, assign, or outsource the contractual information 30 to the network resource 232 for processing.

FIG. 25 illustrates the blockchain data later 42. Assume the entries in the database 70 of contracts relate the contract identifier 32 and/or the contractual parameters 34 to the Internet protocol address 236 assigned to the contract server 66. Once the network resource 232 is identified, the data layer server 24 may outsource the execution of the digital contract 20 to the contract server 66. That is, the data layer server 24 gathers, generates, and/or formats the contract identifier 32 and/or the contractual parameters 34 as the inputs specified by the service request 38, and the data layer server 24 sends the service request 38 to the Internet protocol address 236 specified by the database 70 of contracts. The data layer server 24 then receives the service response 40 sent from the contract server 36, and the service response 40 specifies or details the contractual result generated by the digital contract 20. Moreover, the data layer server 24 may generate the data records 44 in the blockchain data layer 42 time-stamping and describing the service request 38, the service response 40, and any execution details of the digital contract 20. For example, the data records 44 may sequentially and/or serially track the execution of the digital contract 20, perhaps logging or documenting periodic or random updates as the digital contract 20 executes, perhaps along with timestamps toward completion. The data records 44 may also log or document a final step or outcome of the programming language representing the digital contract 20. Again, then, the blockchain 28 need only referenced the digital contract 20 (using the contract identifier 32 and/or the contractual parameters 34). The actual execution of the digital contract 20 may be offloaded or outsourced to the contract layer 26.

FIG. 26 illustrates more details. The data layer server 24 may again only manage the execution of the digital contract 20 referenced by the contract identifier 32 and/or the contractual parameters 34. That is, the data layer server 24 may outsource the execution of the digital contract 20 to the contract later 26 as a vendor, supplier, or subcontractor process. Again, when the data layer server 24 receives the contract identifier 32 and/or the contractual parameters 34, the data layer server 24 may consult the database 70 of contracts. Here, though, the database 70 of contracts has entries that map or relate the contract identifier 32 to contract server 36 that executes the digital contract 20 as a cloud-based service (perhaps as a software-as-a-service or SAAS). The database 70 of contracts may thus associate the contract identifier 32 to the Internet protocol address 236 representing the contract server 36 that executes the digital contract 20. The database 70 of contracts may additionally or alternatively associate the contract identifier 32 to a uniform resource locator (or “URL”) 240 representing the contract server 36 that executes the digital contract 20. Regardless, once the contract server 36 is determined, the data layer server 24 may retrieve and send the service request 38 to the contract server 36 (via the Internet protocol address 236 and/or the URL 240 representing the contract server 36). The service request 38 specifies the contract identifier 32 and requests an execution of the corresponding digital contract 20. The service request 38 may also specify the contractual parameters 34. When the contract server 36 (perhaps operated on behalf of a third party) receives the service request 38, the contract server 36 applies the parameters defined or described by the contractual parameters 34 to the programming code (such as a computer file 242) representing the digital contract 20. Once the digital contract 20 is executed, the contract server 36 may then send the service response 40 back to the data layer server 24, and the service response 40 comprises data or information describing an outcome or result of the digital contract 20 (such as consideration, payment, or performance terms).

The data layer server 24 may generate the data records 44 in the blockchain data layer 42. For example, the data records 44 may document the date and time that the service request 38 was sent to the contract server 36. Moreover, as the contract server 36 provides the digital contract 20 as a service, the contract server 36 may send periodic or random service updates 46 as the service is provided along with timestamps toward completion. The data layer server 24 may thus generate the data records 44 describing the service updates 46 received from the contract server 36. The data layer server 24 may also generate the data records 44 describing the service response 40 sent from the contract server 36 describing an outcome of the digital contract 20.

FIGS. 27-28 illustrate virtual execution, according to exemplary embodiments. Here the contract layer 26 may outsource or subcontract the execution of the digital contract 20 to the virtual machine (or “VM”) 234. For example, the contract server 36 may implement different virtual machines 234, with each virtual machine 234 processing and/or executing a particular digital contract 20, perhaps as a software service. The contract server 36 may provide virtual computing and/or virtual hardware resources to client devices, thus lending or sharing its hardware, computing, and programming resources. The contract server 36 may thus operate or function as a virtual, remote resource for providing contractual execution as software services. Suppose, for example, that the contract server 36 implements four (4) virtual machines 234 a-d. In practice, though, the contract server 36 may implement any number or instantiations of different virtual machines 234 and/or digital contracts 20, depending on complexity and resources. Moreover, as a further simplification, assume that each virtual machine 234 a-d executes a different corresponding digital contract 20 a-d. So, when the contract server 36 receives the service request 38, the contract server 36 may inspect the service request 38 to read, retrieve, or otherwise obtain each contract identifier 32 a-d and/or the corresponding contractual information 34 a-d and consult the database 70 of contracts.

FIG. 28 further illustrates the database 70 of contracts. Here the database 70 of contracts may include entries that map the contract identifier 32 to the corresponding virtual machine 234. The database 70 of contracts may thus be preconfigured or preloaded with entries that assign or associate each virtual machine 234 to its corresponding contract identifier 32. Once the virtual machine 234 is identified, the contract server 36 may then coordinate and/or manage the execution of the corresponding digital contract 20, perhaps based on the contract information 30. Suppose, for example, that the contract server 36 has programming or code that functions or performs as a query handler. The contract server 36 inspects for the contract identifier 32 and queries the database 70 of contracts (as above explained). The contract server 36 thus identifies and/or retrieves the corresponding virtual machine 234. Exemplary embodiments may thus determine whether contract identifier 32 matches or satisfies any of the entries specified by the database 70 of contracts. FIG. 28 illustrates entries that map the contract identifier 32 to its corresponding virtual machine 234 (e.g., an address, processor core, identifier, or other indicator).

The digital contract 20 may then be executed. For example, once the contract identifier 32 and the virtual machine 234 are determined, the virtual machine 234 may then call, retrieve, and/or execute the computer file 242 that provides the digital contract 20 as a virtual service or process. FIG. 28 illustrates the computer file 242 locally stored and executed by the contract server 36, but the computer file 242 may be remotely stored, retrieved, and/or executed. Regardless, the virtual machine 234 may be instructed to retrieve, execute, and/or apply the computer file 242, perhaps based on the contractual information 30.

FIG. 28 also illustrates software services. Here the database 70 of contracts may include entries that map the contract identifier 32 to a corresponding software service 244 provided by the virtual machine 234. Exemplary embodiments, in other words, may relate the contract identifier 32 to a service identifier 246. The service identifier 246 is any alphanumeric combination, data, or hash value that uniquely identifies the software service 244 provided by the virtual machine 234. Once the contract identifier 32, the software service 244, and/or the virtual machine 234 are determined, the virtual machine 234 may then provide the software service 244. The software service 244 may execute the digital contract 20, perhaps based on the contractual information 30.

FIG. 29 illustrates cryptographic affinities, according to exemplary embodiments. Here the data layer server 24 may create or generate a cryptographic affinity 250 describing contractual execution. This disclosure above explained how the data layer server 24 may generate the data records 44 in the blockchain data layer 42. This disclosure also above explained how the data records 44 may document execution of the digital contract 20. Here, then, the cryptographic affinity 250 may uniquely identify the digital contract 20 executed by the contract layer 26, the contract server 36, and/or the virtual machine 234. For example, once the contract identifier 32 and the virtual machine 234 are determined (as above explained), the hashing algorithm 56 may generate a unique hash value 252. That is, the hashing algorithm 56 may hash the contract identifier 32 with a virtual machine (“VM”) identifier 254 to generate the cryptographic affinity 250. The virtual machine identifier 254 is any alphanumeric combination, data, or hash value that uniquely identifies the virtual machine 234. The cryptographic affinity 250 may then be documented by the data records 44 in the blockchain data layer 42, thus evidencing the execution of the digital contract 20. Indeed, the cryptographic affinity 250 may be published via the public blockchain 84 as the cryptographic proof 88, thus further publicly evidencing the execution of the digital contract 20.

The cryptographic affinity 250 may be a detailed registration. describing contractual execution. Because the virtual machine 234 nests within the contract server 26 operating within the contract layer 26, the virtual machine (“VM”) identifier 254 may uniquely identify the nested combination. For example, the virtual machine identifier 254 may be an alphanumeric combination, data, or hash value that uniquely identifies the virtual machine 234, the contract server 26, and the contract layer 26. Different virtual machines and different contract servers may operate within the contract layer 26, so different virtual machine identifiers 254 may be assigned to the different combinations. The resulting cryptographic affinities 250 may be registered by the data records 44 in the blockchain data layer 42, thus evidencing the precise execution of the digital contract 20 by the network resource 232 operating within the contract layer 26.

Exemplary embodiments thus include a service environment. Exemplary embodiments may manage and/or execute many different digital contracts 20 offered by many different vendors or suppliers. Indeed, the data layer server 24 may manage or even execute the digital contracts 20 while also generating the blockchain data layer 42 as still another service. The data layer server 24 may thus acts as a subcontractor or service provider, perhaps in a subscription or other compensation scheme. Any customer or client (such as the entity server 140 explained with reference to FIGS. 10-11 ) may thus send or forward its private blockchain 28 (generated from its private data 64) to the data layer server 24 for management or execution of any digital contract 20. The data layer server 24 may generate the data records 44 of the blockchain data layer 42 that document the management or execution of any digital contract 20. Moreover, the data layer server 24 may publicly publish the cryptographic proof 88 within the public blockchain 84, thus further documenting immutable evidence of the management or execution of any digital contract 20. Indeed, the entity server 140 may also generate the blocks 60 of data within the private blockchain 28 that also document the date and time that the management or execution of any digital contract 20 was sent/requested. The entity server 140 may then pay or reward the data layer server 24 in exchange for the digital contract 20 and/or the data records 44 in the blockchain data layer 42 (such as granting its crytpocoinage 80 and 114, as explained with reference to FIG. 9 ).

The data layer server 24 may thus serve many blockchains 28 requesting many different contractual services. The financial institution 62, for example, may send or forward its private blockchain 28 a (as illustrated with reference to FIG. 9 ) to the data layer server 24 for application or execution of any digital contract 20 (by specifying the contract identifier 32, as above explained). The retailer 100 may similarly send or forward its private blockchain 28 b to the data layer server 24 for application or execution of any digital contract 20. The online website 102 may also send or forward its private blockchain 28 c to the data layer server 24 for application or execution of any digital contract 20. The data layer server 24 may generate the data records 44 of the blockchain data layer 42 that document the management and/or execution of any digital contract 20, and the data layer server 24 may publicly publish each cryptographic proof 88 within the public blockchain 84, thus further documenting immutable evidence of the management and/or execution of any digital contract 20. The entity 30 may then pay or reward the data layer server 24 via their respective crytpocoinage 80 and 114.

Exemplary embodiments thus only need to identify the digital contract 20. The contract identifier 32 and the contractual parameters 34 need only be informational content in the private blockchain 28. The contract identifier 32 and the contractual parameters 34, additionally or alternatively, may be sent as packetized data messages. The contract identifier 32 is any digital identifying information that uniquely identifies or references the digital contract 20. The contract identifier 32 may be an alphanumeric combination that uniquely identifies a party, a vendor, and/or version of the digital contract 20 and/or a processor or executioner of the digital contract 20. The contract identifier 32 may be expressed as a unique hash value that is included within, or specified by, the private blockchain 28. Similarly, the contractual parameters 34 may identify the parties to the digital contract 20, their respective performance obligations and terms, and consideration.

Exemplary embodiments may thus exchange inputs and outputs. When the data layer server 24 sends the service request 38 to the contract server 36, the service request 38 may include or specify one or more of the contract identifiers 28 and/or the contractual parameters 34. Suppose, for example, that the contract identifiers 28 and/or the contractual parameters 34 are represented as hash values. The hash values may be identified from, or specified by, the private blockchain 28. The hash values may additionally or alternatively be generated by the data layer application 154 (such as by calling, invoking, or executing the hashing algorithm 56, as above explained). Regardless, the service request 38 may thus include or specify the hash values representing the contract identifiers 28 and/or the contractual parameters 34. When the contract server 36 receives the service request 38, the contract server 36 and/or the digital contract 20 may use or accept the hash values as inputs to generate the contractual result as an output. The contract server 36 and/or the digital contract 20 may further encrypt the contractual result (such as calling, invoking, or executing the hashing algorithm 56) to generate another hash value representing the contractual result.

Exemplary embodiments provide contractual proofs. When the data layer server 24 sends the service request 38 to the contract server 36, the data records 44 may document the service request 38 as one of the cryptographic proofs 88. When the data layer server 24 receives the service response 40, the data records 44 document that receipt and the contractual result as another one of the cryptographic proofs 88. The data records 44 thus prove that at least the portion of the digital contract 20 was outsourced to the contract layer 26 as a vendor, supplier, or subcontractor process or assignment. The data records 44 also prove that at least the portion of the digital contract 20 was executed to provide the contractual result. The data layer server 24 may then compare the contractual result (such as its hash value) to a predefined or expect value. If the contractual result matches or equals the predefined or expect value, then the data layer application 154 may be programmed or coded to infer that the contract successfully executed and/or the vendor or supplier performed as obligated. However, if the contractual result fails to match or equal the predefined or expect value, then the data layer application 154 may be programmed or coded to infer that the contract is not satisfied and/or the vendor or supplier failed to perform as obligated.

FIGS. 30-34 illustrate a contractual process, according to exemplary embodiments. Here the digital contract 20 may have different or individual components, portions, or sub-parts that cumulatively combine to produce a contractual result 260. The different components, portions, or sub-parts may be software modules 262 that can be separately executed to generate the overall or final contractual result 260. A simple digital contract 20, for example, may only have a few or several software subroutines or modules 262, while a complex or complicated digital contract 20 may have many or hundreds of different software subroutines or modules 262. As the reader likely understands, such a complicated software structure is too difficult to illustrate. For simplicity, then, FIG. 30 illustrates the digital contract 20 having four (4) software modules 262 a-d. The entire contract application 264, in other words, may have four (4) different application layers 266 a-d. Each componentry module 262 a-d or layer 266 a-d may have its own corresponding contract identifier 32 a-d. When the contract server 36 receives the service request 38, exemplary embodiments may then feed the contractual parameters 34 as inputs 268 a-d to the software modules 262 a-d. Each different software module 262 may thus generate its respective or corresponding output 270 a-d, which may be combined or processed to generate the overall or final contractual result 260.

FIG. 31 illustrates hierarchical execution. Here the different software modules 262 may be serially or sequentially executed to generate the overall or final contractual result 260. For example, the software module 262 a may accept at least some of the contractual parameters 34 as the input 268 a, execute its respective programming code, and generate its corresponding output 270 a. Here, though, the output 270 a may then be routed or sent to the software module 262 b as its input 268 b. Its respective programming code is then executed to generate its corresponding output 270 b, based on the output 270 a generated by or received from the software module 262 a. Similarly, software module 262 c accepts the output 270 b and generates output 270 c, which is received by software module 262 d as input 268 d and used to generate the output 270 d. While exemplary embodiments may continue processing the outputs 270 a-d to generate any desired outcome, for simplicity FIG. 31 illustrates the output 270 d as the final contractual result 260. Exemplary embodiments may thus use the software modules 262 a-d as feedback mechanisms to monitor or even enforce contractual rule-based obligations defined or specified by the digital contract 20.

FIG. 32 illustrates the blockchain data layer 42. Here the blockchain data layer 42 may document the processing and/or execution of each software module 262 a-d, its respective input(s) 268 a-d, its respective output(s) 270 a-d, and perhaps a corresponding timestamp (not shown for simplicity). The data records 44 may further document or record the corresponding contract identifier 32 a-d and/or the chain identifier 174. The data layer server 24 may thus receive the service updates 46 (via the communications network 142) as each software module 262 a-d performs or executes its corresponding contractual service. The data layer server 24 may then generate the data records 44 in the blockchain data layer 42, thus documenting each software component's contribution toward the overall or final contractual result 260. The data records 44 may also be hashed to generate the cryptographic proofs 88, as above explained.

FIG. 33 also illustrates contractual execution. Here, though, the different software modules 262 may be executed by different network resources 232 within the contract layer 26. Suppose, for example, that the contract server 36 a locally stores and executes the software module 262 a, while a different contract server 36 b locally stores and executes the software module 262 b. Suppose also that the contract server 36 c locally stores and executes the software module 262 c and the contract server 36 d locally stores and executes the software module 262 d. Exemplary embodiments may thus source or subcontract the different portions of the digital contract 20 to different machines for execution. The contract server 36 a, for example, may specialize in the software module 262 a. The contract server 36 a may thus accept the service request 38 from clients, execute the software module 262 a, and return send the service response 40 (as explained with reference to FIG. 26 ). The contract server 36 a may also send the service update(s) 46 to the data layer server 24, thus allowing the blockchain data layer 42 to document the contractual service provided by the software module 262 a. The remote servers 262 b-d may similarly specialize in the software modules 262 b-d to provide their respective contractual services.

FIG. 34 illustrates an overall architectural scheme. As the reader may envision, there may be hundreds, thousands, millions, or even billions of contractual relationships between many different parties. As smart, digital contracts grow in acceptance and usage, the blockchain data layer 42 is expected to exponentially grow, thus requiring ever-increasing hardware and software resources. In plain words, there may be many data layer servers 24 generating the data records 44 in the blockchain data layer 42. While there may be hundreds or even thousands of data layer servers 24, FIG. 34 simply illustrates four (4) data layer servers 24 a-d that cooperate to generate and grow the blockchain data layer 42. As the processing load increases or grows (such as according to a rate 280 of generation), the number of data layer servers 24 may also grow.

The blockchain data layer 42 may thus be separate from an implementation and execution of the digital contract 20. The data layer servers 24, in other words, may be separately networked and/or addressed from the contract servers 26 providing the contractual services representing the software modules 262 of the digital contract 20. Any of the data layer servers 24 may send data or information as inputs to any one of the contract servers 26, and the corresponding software module 262 performs its contractual service and sends its output 270 back to the blockchain data layer 42 (perhaps via the service request 38, the service response 40, and the service update 46 as earlier explained and illustrated). Some of the contract servers 26 may provide virtual services, such as a virtual machine (as above explained) that executes any of the software modules 262.

FIG. 35 illustrates a compliance scheme, according to exemplary embodiments. As the reader may understand, some smart, digital contracts have jurisdictional requirements. For example, the digital contract 20 may have programming code that requires an execution or processing in a particular region or country. That is, the digital contract 20 may have contractual rules and/or provisions that must be enforced in the United States, the European Union, or the Isle of Man. Components or portions of the digital contract 20 may require execution or location in the Cayman Islands, Idaho, or Hong Kong. The digital contract 20, in other words, may have a geographic parameter 320. The geographic parameter 320 may be a locational requirement, restriction, or preference for at least some portion of the digital contract 20. The geographic parameter 320 can be any data, information, field, metadata, or code for enforcing the locational requirement, restriction, or preference. Indeed, the geographic parameter 320 may even be finely expressed or defined as global positioning system (“GPS”) information or coordinates at which at least some portion of the digital contract 20 must be processed or executed.

The geographic parameter 320 may be an input value. As FIG. 35 illustrates, the geographic parameter 320 may be read or received via the private blockchain 28 (perhaps along with the contract identifier 32 and/or the contractual parameter 34). The data layer server 24, in other words, may identify the geographic parameter 320 as data, information, or a hash value contained within the block 60 of data. However, the geographic parameter 320 may additionally or alternatively be received and/or identified within a header of body/payload of a packet 322 of data (packetized according to the Internet Protocol, just as the contract identifier 32 and/or the contractual parameter 34 may be identified).

Regardless, once the geographic parameter 320 is determined, exemplary embodiments may again consult the database 70 of contracts. The database 70 of contracts may have entries that electronically associate the contract identifier(s) 32 and/or the contractual parameter(s) 34 to the geographic parameter 320. The data layer application 154 may instruct the data layer server 24 to query the database 70 of contracts for either, any, or all of the contract identifiers 28, the contractual parameters 34, and/or the geographic parameters 320 to identify and/or retrieve the corresponding database entries. As a simple example, suppose a file component of the digital contract 20 must be processed in a particular geographic region (such as the British Virgin Islands or Canada). The corresponding contract identifier 32, in other words, may be electronically associated with a particular geographic region 322, as defined by a tabular entry in the database 70 of contracts. Once the region 322 is determined, the data layer server 24 may then route the contract identifier 32, the contractual parameter 34, and/or the geographic parameter 320 to the contract layer 26 and/or the contract server 36 that is associated with, or even located within, the region. Exemplary embodiments, for example, may implement the service request 38, the service response 40, and the service update 46 (as earlier explained). The contract server 36 may then process or execute the digital contract 20 using the contract identifier 32 and/or the contractual parameter 34 (as this disclosure earlier explained).

Other examples explain the geographic parameter 320. Suppose that the contract identifier 32 and/or the contractual parameter 34 map(s) to a particular server, cluster of servers, and/or a particular virtual machine (“VM”) 234. The data layer server 24 may then route the contract identifier 32, the contractual parameter 34, and/or the geographic parameter 320 to the contract server 36 that is associated with the cluster of servers and/or the virtual machine 234. The contract server 36 may then process or execute the digital contract 20 using the contract identifier 32 and/or the contractual parameter 34 (as this disclosure earlier explained). More likely, though, the contract identifier 32 and/or the contractual parameter 34 will relate to a particular IP address or uniform resource locator (“URL”) 236. The data layer server 24 may then route the contract identifier 32, the contractual parameter 34, and/or the geographic parameter 320 to the contract server 36 that is associated with the IP address or URL 236 for processing (again, as this disclosure earlier explained).

Exemplary embodiments may thus implement contractual provisions. Some digital contracts 20 may require a particular server, perhaps implementing or hosting a particular website, network, authentication scheme, programming, or other geographic parameter 320. Some parties to the digital contract 20 may also require a particular server, perhaps as specified by the geographic parameter 320. Some digital contracts 20 may have compliance obligations, perhaps defined by a particular jurisdiction and expressed as the geographic parameter 320. Servers, webpages, networks and other resources may be dedicated to specific jurisdictions, as expressed by the geographic parameter 320.

FIGS. 36-38 illustrate contractual management, according to exemplary embodiments. Here again the data layer server 24 may manage the execution of the digital contract 20. When any party, participant, or subcontractor performs a portion or component of the digital contract 20, the data layer server 24 may coordinate and validate the contractual components. Suppose again that the data layer server 24 receives the contract identifier 32 and/or the contractual parameters 34 (as earlier explained). The contract identifier 32 may represent a single, large digital contract 20. The contract identifier 32, however, may represent only a single or a few contractual components of the digital contract 20. The contract identifier 32, in other words, may map or relate to a sequence or series of one or more table identifiers 334. Each table identifier 334 may be an alphanumeric combination or a unique hash value. Regardless, each table identifier 334 uniquely identifies a corresponding decision table 326 that decides a componentry portion of the digital contract 20. When the data layer server 24 receives the one or more contract identifiers 28, the data layer server 24 may then consult the database 70 of contracts.

FIG. 37 further illustrates the database 70 of contracts. Here the database 70 of contracts may have additional entries that map or relate the contract identifier 32 to the table identifier 334 and/or to the network resource 250 that executes the corresponding componentry portion of the digital contract 20 (perhaps again as a cloud-based service). The contract identifier 32, in other words, may map or relate to a sequence or series of one or more table identifiers 334. Each table identifier 334 may be an alphanumeric combination or a unique hash value. Regardless, each table identifier 334 uniquely identifies the corresponding decision table 326 that decides a componentry portion of the digital contract 20. When the data layer server 24 receives the one or more contract identifiers 28, the data layer server 24 may then consult the database 70 of contracts to determine any corresponding entry (as this disclosure above explains).

FIG. 38 illustrates outsourcing. Once the network resource 232 is determined (recall that the network resource 232 may execute the corresponding componentry portion of the digital contract 20), the data layer server 24 may utilize the request mechanism. Suppose, for example, that the database 70 of contracts identifies the contract server 36 as the network resource 232. The data layer server 24 may thus instruct the contract server 36 to execute the corresponding decision table 326. The data layer server 24, for example, sends the service request 38 (as earlier explained), and the service request 38 may specify the table identifier 334 and/or the input 330 as the contractual parameters 34. When the contract server 36 receives the service request 38, the contract server 36 applies the input 330 to the decision table 326 representing the digital contract 20. Once the decisional output 332 is determined, the contract server 36 may then send the service response 40 back to the data layer server 24, and the service response 40 comprises data or information describing the decisional output 332. The data layer server 24 may generate the data records 44 in the blockchain data layer 42 that document the service request 38 and the service response 40, perhaps including any service updates 46 as the decision table 326 is executed.

Exemplary embodiments thus include a service environment. Exemplary embodiments may manage and/or execute many different decision tables 326 offered by many different vendors or suppliers. Indeed, the data layer server 24 may manage or even execute the digital contracts 20 while also generating the blockchain data layer 42 as still another service. The data layer server 24 may thus acts as a subcontractor or service provider, perhaps in a subscription or other compensation scheme. Any customer or client may thus send or forward its input 330 and/or its decisional output 332 to the data layer server 24 for management or execution of any digital contract 20. The data layer server 24 may generate the data records 44 of the blockchain data layer 42 that document the management or execution of any portion of component of the digital contract 20. Moreover, the data layer server 24 may publicly publish the cryptographic proof 88 within the public blockchain 84, thus further documenting immutable evidence of the management or execution of any digital contract 20. Any party, participant, or vendor/subcontractor may then pay or reward the data layer server 24 (such as granting its crytpocoinage 80, 82, and/or 114, as explained with reference to FIG. 9 ).

The data layer server 24 may thus provide contractual services. The financial institution 62, for example, may send or forward its input 330 and/or its decisional output 332 to the data layer server 24 for contractual documentation. Similarly, the retailer 100, the online website 102, and the manufacturer 128 may also send its input 330 and/or its decisional output 332 to the data layer server 24 for contractual documentation. The data layer server 24 may generate the data records 44 of the blockchain data layer 42 that document the management and/or execution of any decision table 326 representing any portion of the digital contract 20. The data layer server 24 may also publicly publish each cryptographic proof 88 within the public blockchain 84, thus further documenting immutable evidence of the management and/or execution of any digital contract 20. The data layer server 24 may be paid or rewarded via their respective crytpocoinage 80, 82, and/or 114.

Exemplary embodiments may thus create factored decision tables driven by a table engine. Smart, digital contracts are notoriously dangerous. Decision tables are significantly easier to verify and validate. However, decision tables may be large and perhaps cannot be placed on a blockchain. Exemplary embodiments may thus put smaller contractual components of the digital contract 20 on any blockchain (such as the private blockchain 28 or the public blockchain 84), validate the contractual components (perhaps via the cryptographic proof 88), incorporate the cryptographic proof 88 into a larger component of the digital contract 20, and then validate the larger component.

Exemplary embodiments thus may separate the blockchain data layer 42 from contractual execution. The data layer server 24 (generating the blockchain data layer 42) may thus accept inputs from the servers (such as the contract server 36) executing any component of the digital contract 20. The servers (such as the contract server 36) executing any component of the digital contract 20 may also send data to the data layer server 24. The data layer server 24 may thus execute the decision table. The contract server 36 may additionally or alternatively execute the decision table when processing the digital contract 20. The decision table may thus be sent and/or received as an input/output. Even a virtual machine may access and use the decision table.

Exemplary embodiments thus establish the digital contract 20 as an identity. Because only the contract identifier 32 is needed, the digital contract 20 may be separated into various smaller components (such as the software modules 262 and/or layers 266, as above explained). Each software module 262 and/or layer 266 may have its own contract identifier 32. The digital contract 20 is thus transformed to an identity, which may be easily updated after software bugs are found and consensus is documented by stake holders. Exemplary embodiments thus provide an ability to repair bugs and to claw back or backup spurious results. The separation of the blockchain data layer data 72 thus isolates and protects the data records 44.

Exemplary embodiments thus describe a novel smart contract architecture to be run outside, external, or off-blockchains. The digital contract 20, and/or its contractual components, may each have its own digital identity defined within the blockchain data layer data 72. The contract identifier 32, in other words, may uniquely identity a version, thus allowing stakeholders (using their digital identities) to approve updates to respond to changes in business, to approve bug resolution, and to accommodate new participants in the digital contract 20, without having to dissolve the original version and without redeploying or requiring the blockchain to be reversed and modified to avoid an incorrect, improper, or unacceptable result by perhaps a majority of users. As the reader may understand, modifying a blockchain to resolve an issue involves many more stakeholders with an interest in the blockchain but having no interest in the smart contract. This has been a problem with conventional blockchain architectures.

Exemplary embodiments may separate the blockchain data layer data 72 from the rules engine architecture that executes the digital contract 20. Exemplary embodiments allow for light weight, secure, and extendible digital identity. Digital identity can be applied to implementation of the virtual machine that runs the digital contract 20. Digital identity can be applied to any smart contract and/or to any stakeholder(s). Stakeholders may thus be paid (perhaps via the cryptocurrencies 80, 82, and/or 114) for who they are, such as to a particular blockchain address, meaning if a stakeholder's address is compromised, then the stakeholder can update the address without having to modify the digital contract 20. This virtual address modification is similar to the real world for when a business moves from one geographic location to another, the business does not invalidate all its contracts. In the real world, the business merely informs parties of its new physical address and contact information. Exemplary embodiments allow management of the digital contract 20 in a flexible fashion, similar to management of contracts in the real world, but with blockchain security and data integrity of the actual digital contract 20, automation of provisions in the digital contract 20, and cryptopayment support.

Exemplary embodiments are also scalable. Layers or modules can be created in the digital contract 20 and/or in the private blockchain 28 or the public blockchain 84 for improved flexibility and management via hardware computers. The data records 44 in the blockchain data layer 24 are safely separated from the servers that execute the digital contract 20. Contract servers 36 (e.g., the contractual application layer) may perform a decentralized evaluation of digital contract 20, using the proper virtual machine and proper rules, and manage interests of majority or all stakeholders. Values of cryptotokens may be defined and/or distributed, but allowing greater scalability.

Exemplary embodiments provide numerous advantages. Because the contractual execution is separate from the blockchain data layer data 72, the results of the digital contract 20 are securely documented and may be exported to other contractual components or to other digital contracts. Exemplary embodiments may thus implement and offer multiple modules 262, layers 266, or instances of different contractual components that can exchange inputs and outputs to build a networking effect between different layers, modules, and smart contracts. A first server running a first application layer (and perhaps executing a first smart contract) can be entirely separate a second server running a second smart contract and a third server running a third smart contract. The blockchain data layer 42, though, exchanges and thus documents their respective inputs and outputs. The various servers may thus manage and/or share the same cryptotokens, or different entity tokens may be exchanged within each layer. Regardless, exemplary embodiments may coordinate exchanges of value for services performed. Great flexibility in defining the value of cryptotokens and the value into and out of smart contract.

Exemplary embodiments may also have jurisdictional advantages. Particular servers may be specific to particular jurisdictions and/or particular smart contracts. For example, some application layers may cross jurisdictional servers with different compliances. As another example, suppose that one application layer may require qualified investors with full know your client (or “KYC”) compliance. Another application layer may be anonymous and/or allow all corners. Even if the blockchain data layer 42 has a small set of users/clients, large smart contracts may be managed, implemented, and/or documented.

The digital contract 20 may utilize conventional programming languages and/or decision tables. In particular, some programming languages and decision tables, like purely functional languages, may mathematically prove contractual algorithms. These mathematical proofs may yield much more secure smart contracts than conventional languages that run on today's blockchains. Previously, smart contracts were often too big in size to execute on a blockchain. The separate blockchain data layer 42, though, allows scaling and implementing smart contracts “off chain.” The proof 88 of the digital contract 20, for example, is a hash value, perhaps in association with the contract identifier 32 and/or the chain identifier 174, as documented by the data records 44 in the blockchain data layer 42. The hash value of the proof 88, in other words, is a very small value (in relation to the size of the smart contract). The digital contract 20 may thus be provided to any or all parties and/or any or all stakeholders for validation of its terms, obligations, and performance. The cryptographic proof 88 thus verifies execution without stuffing large amounts of data onto the private blockchain 28 or the public blockchain 84.

Exemplary embodiments may use decision tables for smart contracts. Decision tables are well understood, perform well, and are verifiable relative to brute-force code writing. Simply put, custom programming code introduces many variables and software bugs are inevitable. Decision tables are also very amenable to domain-specific languages. As the reader may understand, domain-specific languages accept near-English statements as inputs and generate computer code as outputs. Subject matter experts may thus define the functionality of the digital contract 20, perhaps without relying on the skills of computer programmers (who may not fully understand the subject matter). Decision tables are thus approachable to subject matter experts and easily implemented. Decision tables may also be combined with other decision tables, which allows performance proven and validated functions may be incorporated into smart contracts for many objectives and outcomes. Decision tables may thus be mixed and matched as components to a composite digital contract 20, and a collection of decision tables representing the digital contract 20 may still be validated to ensure correct operation. Decision tables define much smaller numbers of programming paths through the software code representing the digital contract 20, which ensures that all contractual combinations may be enumerated and proper results can be expected for a range of values. On blockchains, though, decision tables may be big in size, so some decision tables may not be feasible as a smart contract on a conventional blockchain. But, because the blockchain data layer 74 is separate from the contract layer 26 executing the digital contract 20, the digital identity (e.g., the contract identifier 32) for the digital contract 20 (that allows the smart contract to exist off chain) provides the servers (each perhaps having its own identity) to certify execution of the digital contract 20. Exemplary embodiments may also define the mechanism for cryptotoken-based payments that incentivize the contract server 36 to perform the digital contract 20 and to verify and validate the digital contract 20. Component and composite performance may be tracked, recorded, and proved. For example, if a virtual machine runs the digital contract 20 (as above explained), execution in the virtual environment can be tracked. Virtual machines may often have software bugs that affect an interpretation of the decision tables. The virtual machine may thus have its own digital identity, as defined by the database 70 of contracts (as above explained). Different versions of the virtual machine and/or the decision table may thus be mapped within the database 70 of contracts, thus allowing redirection after software bugs have been resolved. The database 70 of contracts, in other words, may be updated with entries that point to different versions for different parties and/or to corrected or improved versions.

Digital identities extend to engines and decision tables. The database 70 of contracts may map or point to servers, domains, decision tables, and their respective versions. The digital contract 20 (and/or its components, as represented by their respective contract identifiers 28) ensures execution, regardless of the environment. Because the blockchain data layer 42 documents all this component processing, the data records 44 may prove (via the cryptographic proof 88) that the correct contractual component was used, the correct decision table(s) was/were used, the correct virtual machine was used, and the correct input or output data was used. Verification may driven from the contractual components, the data components, and the hardware components at the correct time for the correct time period.

FIG. 39 is a flowchart illustrating a method or algorithm for processing of the digital contract 20, according to exemplary embodiments. The contract identifier 32, the contractual parameter 34, the verification value 52, the geographic parameter 320, and/or the table identifier 334 is/are received (Block 340). The network resource 232 is identified (Block 342), and the contract processor may be an IP address, URL, virtual machine, or other network destination representing a vendor, contractor, server, or service that executes the decision table 326 and/or the digital contract 20. The service request 38 is sent (Block 344), the service update 46 is received (Block 346), and the service response 40 is received (Block 348). The data records 44 in the blockchain data layer 42 are generated (Block 350), and the data records 44 describe the execution of the digital contract 20. The data records 44 may be hashed (Block 352) and incorporated into the public blockchain 84 (Block 354).

FIG. 40 is a schematic illustrating still more exemplary embodiments. FIG. 40 is a more detailed diagram illustrating a processor-controlled device 360. As earlier paragraphs explained, the entity's private software application 68, the data layer application 154, and/or the contract application 264 may partially or entirely operate in any mobile or stationary processor-controlled device. FIG. 40 , then, illustrates the entity's private software application 68, the data layer application 154, and/or the contract application 264 stored in a memory subsystem of the processor-controlled device 360. One or more processors communicate with the memory subsystem and execute either, some, or all applications. Because the processor-controlled device 360 is well known to those of ordinary skill in the art, no further explanation is needed.

FIG. 41 depicts other possible operating environments for additional aspects of the exemplary embodiments. FIG. 41 illustrates the entity's private software application 68, the data layer application 154, and/or the contract application 264 operating within various other processor-controlled devices 360. FIG. 41 , for example, illustrates that the entity's private software application 68, the data layer application 154, and/or the contract application 264 may entirely or partially operate within a smartphone 362, a personal/digital video recorder (PVR/DVR) 364, a Global Positioning System (GPS) device 366, an interactive television 368, a tablet computer 370, or any computer system, communications device, or processor-controlled device utilizing any of the processors above described and/or a digital signal processor (DP/DSP) 372. Moreover, the processor-controlled device 360 may also include wearable devices (such as watches), radios, vehicle electronics, clocks, printers, gateways, mobile/implantable medical devices, and other apparatuses and systems. Because the architecture and operating principles of the various devices 360 are well known, the hardware and software componentry of the various devices 360 are not further shown and described.

Exemplary embodiments may be applied to any signaling standard. Most readers are thought familiar with the Global System for Mobile (GSM) communications signaling standard. Those of ordinary skill in the art, however, also recognize that exemplary embodiments are equally applicable to any communications device utilizing the Time Division Multiple Access signaling standard, the Code Division Multiple Access signaling standard, the “dual-mode” GSM-ANSI Interoperability Team (GAIT) signaling standard, or any variant of the GSM/CDMA/TDMA signaling standard. Exemplary embodiments may also be applied to other standards, such as the I.E.E.E. 802 family of standards, the Industrial, Scientific, and Medical band of the electromagnetic spectrum, BLUETOOTH®, and any other.

Exemplary embodiments may be physically embodied on or in a computer-readable storage medium. This computer-readable medium, for example, may include CD-ROM, DVD, tape, cassette, floppy disk, optical disk, memory card, memory drive, and large-capacity disks. This computer-readable medium, or media, could be distributed to end-subscribers, licensees, and assignees. A computer program product comprises processor-executable instructions for execution of digital contracts, as the above paragraphs explain.

While the exemplary embodiments have been described with respect to various features, aspects, and embodiments, those skilled and unskilled in the art will recognize the exemplary embodiments are not so limited. Other variations, modifications, and alternative embodiments may be made without departing from the spirit and scope of the exemplary embodiments. 

The invention claimed is:
 1. A method performed by a server that identifies a network resource executing a digital contract, the method comprising: identifying, by the server, a contract identifier specified by a blockchain, the contract identifier associated with the digital contract; identifying, by the server, a network address associated with the network resource by querying an electronic database that associates the contract identifier to the network resource; sending, by the server, a service request to the network address requesting an execution of the digital contract; and receiving a service result of the execution of the digital contract.
 2. The method of claim 1, further comprising generating a data record in a blockchain data layer that describes the service request sent to the network address requesting the execution of the digital contract.
 3. The method of claim 2, further comprising transacting a cryptocoinage in response to the generating of the data record in the blockchain data layer.
 4. The method of claim 1, further comprising transacting a cryptocoinage in response to the sending of the service request.
 5. The method of claim 1, further comprising generating a data record in a blockchain data layer that describes the service result.
 6. The method of claim 1, further comprising transacting a cryptocoinage in response to the receiving of the service result.
 7. A system that identifies a network resource executing a digital contract, comprising: a hardware processor; and a memory device storing instructions that when executed by the hardware processor perform operations, the operations comprising: identifying a contract identifier specified by a blockchain, the contract identifier associated with the digital contract; identifying a network address associated with the network resource by querying an electronic database having entries associating network addresses to contract identifiers including an entry of the entries that associates the contract identifier to the network address; sending a service request to the network address requesting an execution of the digital contract; and receiving a service result of the execution of the digital contract.
 8. The system of claim 7, wherein the operations further comprise generating a data record in a blockchain data layer that describes the service request sent to the network address requesting the execution of the digital contract.
 9. The system of claim 8, wherein the operations further comprise transacting a cryptocoinage in response to the generating of the data record in the blockchain data layer.
 10. The system of claim 7, wherein the operations further comprise transacting a cryptocoinage in response to the sending of the service request.
 11. The system of claim 7, wherein the operations further comprise generating a data record in a blockchain data layer that describes the service result.
 12. The system of claim 7, wherein the operations further comprise transacting a cryptocoinage in response to the receiving of the service result.
 13. A memory device storing instructions that when executed by a hardware processor perform operations, the operations comprising: identifying a contract identifier specified by a blockchain, the contract identifier associated with a digital contract; identifying a network address associated with a network resource by querying an electronic database for the contract identifier, the electronic database electronically associating network addresses to contract identifiers including the network address associated with the contract identifier; sending a service request to the network address that is electronically associated with the contract identifier that uniquely identifies the digital contract, the service request requesting an execution of the digital contract; and receiving a service result of the execution of the digital contract.
 14. The memory device of claim 13, wherein the operations further comprise generating a data record in a blockchain data layer that describes the service request sent to the network address requesting the execution of the digital contract.
 15. The memory device of claim 14, wherein the operations further comprise transacting a cryptocoinage in response to the generating of the data record in the blockchain data layer.
 16. The memory device of claim 13, wherein the operations further comprise transacting a cryptocoinage in response to the sending of the service request.
 17. The memory device of claim 13, wherein the operations further comprise generating a data record in a blockchain data layer that describes the service result. 